package com.hzit.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author wf
 * @since 2024-02-26
 */
@Controller
@RequestMapping("/user")
public class UserController {

	@PostMapping("/fail")
	public String authfail(){
		return "authfail";    // 真实的物理路径： /templates/authfail.html
	}
}
